// src/nodes/InputNode.jsx
import { Handle } from 'reactflow';

const InputNode = ({ data }) => (
    <div style={{ background: data.color, padding: 10, borderRadius: 5 }}>
    {data.label}
    <Handle
        type="target"
        position="top"
        id="top"
        style={{ left: '50%', transform: 'translateX(-50%)' }}
    />
    </div>
);

export default InputNode;